package com.yjy.fuyao.stu.client.fallback;

import com.yjy.fuyao.stu.client.OrderClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class OrderClientFallback implements OrderClient {
    @Override
    public boolean isBuyCourse(String userid, String id) {
        log.error("远程调用失败，服务熔断");
        return false;
    }
}
